<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.9.1"/>
<title>My Project: M:/移动硬盘/曹健/DX3D完成作业/619/D3DX封装/src/Observer.h 源文件</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">My Project
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.9.1 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>首页</span></a></li>
      <li><a href="pages.html"><span>相关页面</span></a></li>
      <li><a href="annotated.html"><span>类</span></a></li>
      <li class="current"><a href="files.html"><span>文件</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>文件列表</span></a></li>
      <li><a href="globals.html"><span>文件成员</span></a></li>
    </ul>
  </div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">Observer.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_observer_8h.html">浏览该文件的文档.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">//Name:Observer.h</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment">//观察者模式的3个基类</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">//在FUNK引擎中,所有的&quot;管理器&quot;负责控制对象的创建和销毁1</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment">//&quot;管理器&quot;类就是从IObservable控制器基类中派生出来的</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment">//所有的&quot;系统&quot;负责控制对象的逻辑</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment">//&quot;系统&quot;就是从IObserver观察者基类中派生出来的</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment">//观察者需要将自己注册给控制器,那么控制器就会把观察者需要的数据传递给观察者</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment">//传递的数据就是从IObject数据资源基类中派生出来的</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="preprocessor">#pragma once</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="preprocessor">#include&quot;<a class="code" href="stdafx_8h.html">stdafx.h</a>&quot;</span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_base_interface_8h.html">BaseInterface.h</a>&quot;</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_button_8h.html">Button.h</a>&quot;</span></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_frame_8h.html">Frame.h</a>&quot;</span></div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_picture_8h.html">Picture.h</a>&quot;</span></div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_item_box_8h.html">ItemBox.h</a>&quot;</span></div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_edit_box_8h.html">EditBox.h</a>&quot;</span></div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_check_box_8h.html">CheckBox.h</a>&quot;</span></div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_list_box_8h.html">ListBox.h</a>&quot;</span></div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_component_8h.html">Component.h</a>&quot;</span></div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_object_8h.html">Object.h</a>&quot;</span></div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_c_map_8h.html">CMap.h</a>&quot;</span></div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;</div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_camera_8h.html">Camera.h</a>&quot;</span></div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_player_8h.html">Player.h</a>&quot;</span></div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_sky_8h.html">Sky.h</a>&quot;</span></div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="comment">//#include&quot;Clight.h&quot;</span></div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_water_8h.html">Water.h</a>&quot;</span></div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_bridge_8h.html">Bridge.h</a>&quot;</span></div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_hourse_8h.html">Hourse.h</a>&quot;</span></div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_model_8h.html">Model.h</a>&quot;</span></div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_model_copy_8h.html">ModelCopy.h</a>&quot;</span></div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_multi_anim_8h.html">MultiAnim.h</a>&quot;</span></div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_character_8h.html">Character.h</a>&quot;</span></div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;</div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<span class="comment">//数据资源</span></div>
<div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="class_i_object.html">   39</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_i_object.html">IObject</a></div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;{</div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;</div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;};</div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;</div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;<span class="comment">//控制器(各管理器基类)的声明</span></div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;<span class="keyword">class </span><a class="code" href="class_i_observable.html">IObservable</a>;</div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;</div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;<span class="comment">//观察者(各系统基类)</span></div>
<div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="class_i_observer.html">   48</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_i_observer.html">IObserver</a></div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;{</div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;</div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;    <span class="comment">//观察者(各个系统)当数据资源发生改变后发送至控制器(各个管理器)</span></div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_i_observer.html#a313f8c53221a68ea111a447dbf855325">Notify</a>(<a class="code" href="class_i_observable.html">IObservable</a>* pObservable,<a class="code" href="class_i_object.html">IObject</a>* Arg) = 0;</div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;</div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;    <span class="comment">//观察者(各个系统)接收到控制器发送过来的消息后进行消息处理时所调用的接口</span></div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_i_observer.html#a681d8a78876b9d6eec1a8b1644af2647">Update</a>(<a class="code" href="class_i_observable.html">IObservable</a>* pObservable,<a class="code" href="class_i_object.html">IObject</a>* Arg) = 0;</div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;};</div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;</div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;<span class="comment">//控制器(各管理器基类)</span></div>
<div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="class_i_observable.html">   60</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_i_observable.html">IObservable</a></div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;{</div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;</div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;    <span class="comment">//在控制器里添加一个观察者(系统把自己注册进某个管理器,这样管理器就可以往这个系统发送消息)</span></div>
<div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="class_i_observable.html#a4227b919cb2e46ce082c969c3a503da5">   65</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="class_i_observable.html#a4227b919cb2e46ce082c969c3a503da5">RegisterObserver</a>(<a class="code" href="class_i_observer.html">IObserver</a>* pObserver)</div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;    {</div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;        <span class="keywordflow">if</span>(<a class="code" href="class_i_observable.html#a767a93a7e36dfd58548e12719b40be0f">m_setObservers</a>.find(pObserver) != <a class="code" href="class_i_observable.html#a767a93a7e36dfd58548e12719b40be0f">m_setObservers</a>.end())</div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;        {</div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;            <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;        }</div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;        <a class="code" href="class_i_observable.html#a767a93a7e36dfd58548e12719b40be0f">m_setObservers</a>.insert(pObserver);</div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;        <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;    }</div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;</div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;    <span class="comment">//在控制器里删除一个观察者</span></div>
<div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="class_i_observable.html#a34bdb471c15a96a348f16431655e395e">   76</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="class_i_observable.html#a34bdb471c15a96a348f16431655e395e">RemoveObserver</a>(<a class="code" href="class_i_observer.html">IObserver</a>* pObserver)</div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;    {</div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;        <span class="keywordflow">if</span>(<a class="code" href="class_i_observable.html#a767a93a7e36dfd58548e12719b40be0f">m_setObservers</a>.find(pObserver) == <a class="code" href="class_i_observable.html#a767a93a7e36dfd58548e12719b40be0f">m_setObservers</a>.end())</div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;        {</div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;            <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;        }</div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;        <a class="code" href="class_i_observable.html#a767a93a7e36dfd58548e12719b40be0f">m_setObservers</a>.erase(pObserver);</div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;        <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;    }</div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;</div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;    <span class="comment">//通知注册了的观察者数据对象发生改变</span></div>
<div class="line"><a name="l00087"></a><span class="lineno"><a class="line" href="class_i_observable.html#a197a155bdb3ad4d2146d9f3f3cd99406">   87</a></span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_i_observable.html#a197a155bdb3ad4d2146d9f3f3cd99406">NotifyObserver</a>(<a class="code" href="class_i_object.html">IObject</a>* pObject)</div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;    {</div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;        <span class="keywordflow">for</span>(set&lt;IObserver*&gt;::iterator it = <a class="code" href="class_i_observable.html#a767a93a7e36dfd58548e12719b40be0f">m_setObservers</a>.begin() ; it != <a class="code" href="class_i_observable.html#a767a93a7e36dfd58548e12719b40be0f">m_setObservers</a>.end(); ++it)</div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;        {</div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;            (*it)-&gt;Update(<span class="keyword">this</span>,pObject);</div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;        }</div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;    }</div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;</div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;<span class="keyword">protected</span>:</div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;</div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;    <span class="comment">//注册了的观察者的SET容器  map&lt;,&gt;</span></div>
<div class="line"><a name="l00098"></a><span class="lineno"><a class="line" href="class_i_observable.html#a767a93a7e36dfd58548e12719b40be0f">   98</a></span>&#160;    set&lt;IObserver*&gt; <a class="code" href="class_i_observable.html#a767a93a7e36dfd58548e12719b40be0f">m_setObservers</a>;</div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;};</div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;</div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;<span class="comment">//具象化了的数据资源ImapObject(在场景管理器中使用)</span></div>
<div class="line"><a name="l00102"></a><span class="lineno"><a class="line" href="class_imap_object.html">  102</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_imap_object.html">ImapObject</a>: <span class="keyword">public</span> <a class="code" href="class_i_object.html">IObject</a></div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;{</div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00105"></a><span class="lineno"><a class="line" href="class_imap_object.html#a781a1092f2eca6f4b7b4cb5b45cf4895">  105</a></span>&#160;    <span class="keywordtype">string</span> <a class="code" href="class_imap_object.html#a781a1092f2eca6f4b7b4cb5b45cf4895">ObjectName</a>;  <span class="comment">//对象的名称</span></div>
<div class="line"><a name="l00106"></a><span class="lineno"><a class="line" href="class_imap_object.html#a4a324da17bceab8109b2879a5bd2a1e9">  106</a></span>&#160;    <a class="code" href="class_c_object.html">CObject</a>* <a class="code" href="class_imap_object.html#a4a324da17bceab8109b2879a5bd2a1e9">Object</a>;    <span class="comment">//对象的实体</span></div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;};</div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;</div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;<span class="comment">//具象化了的数据资源IComponent</span></div>
<div class="line"><a name="l00110"></a><span class="lineno"><a class="line" href="class_i_component.html">  110</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_i_component.html">IComponent</a> : <span class="keyword">public</span> <a class="code" href="class_i_object.html">IObject</a></div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;{</div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00113"></a><span class="lineno"><a class="line" href="class_i_component.html#a5ee9af2cdfc10308a29d0409ffcc4da9">  113</a></span>&#160;    <span class="keywordtype">string</span> <a class="code" href="class_i_component.html#a5ee9af2cdfc10308a29d0409ffcc4da9">ComponentName</a>;   <span class="comment">//组件的名称</span></div>
<div class="line"><a name="l00114"></a><span class="lineno"><a class="line" href="class_i_component.html#a653dfd5e21e16e6ad6c7fbd32d2fbf10">  114</a></span>&#160;    <a class="code" href="class_c_component.html">CComponent</a>* <a class="code" href="class_i_component.html#a653dfd5e21e16e6ad6c7fbd32d2fbf10">Component</a>;  <span class="comment">//组件的实体</span></div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;};</div>
<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;</div>
<div class="ttc" id="_base_interface_8h_html"><div class="ttname"><a href="_base_interface_8h.html">BaseInterface.h</a></div></div>
<div class="ttc" id="_multi_anim_8h_html"><div class="ttname"><a href="_multi_anim_8h.html">MultiAnim.h</a></div></div>
<div class="ttc" id="_water_8h_html"><div class="ttname"><a href="_water_8h.html">Water.h</a></div></div>
<div class="ttc" id="_player_8h_html"><div class="ttname"><a href="_player_8h.html">Player.h</a></div></div>
<div class="ttc" id="_character_8h_html"><div class="ttname"><a href="_character_8h.html">Character.h</a></div></div>
<div class="ttc" id="class_i_observable_html_a767a93a7e36dfd58548e12719b40be0f"><div class="ttname"><a href="class_i_observable.html#a767a93a7e36dfd58548e12719b40be0f">IObservable::m_setObservers</a></div><div class="ttdeci">set&lt; IObserver * &gt; m_setObservers</div><div class="ttdef"><b>Definition:</b> Observer.h:98</div></div>
<div class="ttc" id="_model_8h_html"><div class="ttname"><a href="_model_8h.html">Model.h</a></div></div>
<div class="ttc" id="_button_8h_html"><div class="ttname"><a href="_button_8h.html">Button.h</a></div></div>
<div class="ttc" id="_item_box_8h_html"><div class="ttname"><a href="_item_box_8h.html">ItemBox.h</a></div></div>
<div class="ttc" id="_edit_box_8h_html"><div class="ttname"><a href="_edit_box_8h.html">EditBox.h</a></div></div>
<div class="ttc" id="class_i_object_html"><div class="ttname"><a href="class_i_object.html">IObject</a></div><div class="ttdef"><b>Definition:</b> Observer.h:39</div></div>
<div class="ttc" id="class_i_component_html_a653dfd5e21e16e6ad6c7fbd32d2fbf10"><div class="ttname"><a href="class_i_component.html#a653dfd5e21e16e6ad6c7fbd32d2fbf10">IComponent::Component</a></div><div class="ttdeci">CComponent * Component</div><div class="ttdef"><b>Definition:</b> Observer.h:114</div></div>
<div class="ttc" id="class_i_observable_html"><div class="ttname"><a href="class_i_observable.html">IObservable</a></div><div class="ttdef"><b>Definition:</b> Observer.h:60</div></div>
<div class="ttc" id="class_i_component_html"><div class="ttname"><a href="class_i_component.html">IComponent</a></div><div class="ttdef"><b>Definition:</b> Observer.h:110</div></div>
<div class="ttc" id="class_imap_object_html"><div class="ttname"><a href="class_imap_object.html">ImapObject</a></div><div class="ttdef"><b>Definition:</b> Observer.h:102</div></div>
<div class="ttc" id="_bridge_8h_html"><div class="ttname"><a href="_bridge_8h.html">Bridge.h</a></div></div>
<div class="ttc" id="class_i_observer_html"><div class="ttname"><a href="class_i_observer.html">IObserver</a></div><div class="ttdef"><b>Definition:</b> Observer.h:48</div></div>
<div class="ttc" id="class_imap_object_html_a781a1092f2eca6f4b7b4cb5b45cf4895"><div class="ttname"><a href="class_imap_object.html#a781a1092f2eca6f4b7b4cb5b45cf4895">ImapObject::ObjectName</a></div><div class="ttdeci">string ObjectName</div><div class="ttdef"><b>Definition:</b> Observer.h:105</div></div>
<div class="ttc" id="class_i_observable_html_a34bdb471c15a96a348f16431655e395e"><div class="ttname"><a href="class_i_observable.html#a34bdb471c15a96a348f16431655e395e">IObservable::RemoveObserver</a></div><div class="ttdeci">bool RemoveObserver(IObserver *pObserver)</div><div class="ttdef"><b>Definition:</b> Observer.h:76</div></div>
<div class="ttc" id="stdafx_8h_html"><div class="ttname"><a href="stdafx_8h.html">stdafx.h</a></div></div>
<div class="ttc" id="_sky_8h_html"><div class="ttname"><a href="_sky_8h.html">Sky.h</a></div></div>
<div class="ttc" id="class_i_observer_html_a313f8c53221a68ea111a447dbf855325"><div class="ttname"><a href="class_i_observer.html#a313f8c53221a68ea111a447dbf855325">IObserver::Notify</a></div><div class="ttdeci">virtual void Notify(IObservable *pObservable, IObject *Arg)=0</div></div>
<div class="ttc" id="class_imap_object_html_a4a324da17bceab8109b2879a5bd2a1e9"><div class="ttname"><a href="class_imap_object.html#a4a324da17bceab8109b2879a5bd2a1e9">ImapObject::Object</a></div><div class="ttdeci">CObject * Object</div><div class="ttdef"><b>Definition:</b> Observer.h:106</div></div>
<div class="ttc" id="class_i_observable_html_a197a155bdb3ad4d2146d9f3f3cd99406"><div class="ttname"><a href="class_i_observable.html#a197a155bdb3ad4d2146d9f3f3cd99406">IObservable::NotifyObserver</a></div><div class="ttdeci">void NotifyObserver(IObject *pObject)</div><div class="ttdef"><b>Definition:</b> Observer.h:87</div></div>
<div class="ttc" id="_picture_8h_html"><div class="ttname"><a href="_picture_8h.html">Picture.h</a></div></div>
<div class="ttc" id="_component_8h_html"><div class="ttname"><a href="_component_8h.html">Component.h</a></div></div>
<div class="ttc" id="_object_8h_html"><div class="ttname"><a href="_object_8h.html">Object.h</a></div></div>
<div class="ttc" id="_frame_8h_html"><div class="ttname"><a href="_frame_8h.html">Frame.h</a></div></div>
<div class="ttc" id="_hourse_8h_html"><div class="ttname"><a href="_hourse_8h.html">Hourse.h</a></div></div>
<div class="ttc" id="class_i_observable_html_a4227b919cb2e46ce082c969c3a503da5"><div class="ttname"><a href="class_i_observable.html#a4227b919cb2e46ce082c969c3a503da5">IObservable::RegisterObserver</a></div><div class="ttdeci">bool RegisterObserver(IObserver *pObserver)</div><div class="ttdef"><b>Definition:</b> Observer.h:65</div></div>
<div class="ttc" id="_model_copy_8h_html"><div class="ttname"><a href="_model_copy_8h.html">ModelCopy.h</a></div></div>
<div class="ttc" id="_list_box_8h_html"><div class="ttname"><a href="_list_box_8h.html">ListBox.h</a></div></div>
<div class="ttc" id="_c_map_8h_html"><div class="ttname"><a href="_c_map_8h.html">CMap.h</a></div></div>
<div class="ttc" id="_camera_8h_html"><div class="ttname"><a href="_camera_8h.html">Camera.h</a></div></div>
<div class="ttc" id="class_c_component_html"><div class="ttname"><a href="class_c_component.html">CComponent</a></div><div class="ttdef"><b>Definition:</b> Component.h:7</div></div>
<div class="ttc" id="class_i_component_html_a5ee9af2cdfc10308a29d0409ffcc4da9"><div class="ttname"><a href="class_i_component.html#a5ee9af2cdfc10308a29d0409ffcc4da9">IComponent::ComponentName</a></div><div class="ttdeci">string ComponentName</div><div class="ttdef"><b>Definition:</b> Observer.h:113</div></div>
<div class="ttc" id="class_c_object_html"><div class="ttname"><a href="class_c_object.html">CObject</a></div><div class="ttdef"><b>Definition:</b> Object.h:7</div></div>
<div class="ttc" id="class_i_observer_html_a681d8a78876b9d6eec1a8b1644af2647"><div class="ttname"><a href="class_i_observer.html#a681d8a78876b9d6eec1a8b1644af2647">IObserver::Update</a></div><div class="ttdeci">virtual void Update(IObservable *pObservable, IObject *Arg)=0</div></div>
<div class="ttc" id="_check_box_8h_html"><div class="ttname"><a href="_check_box_8h.html">CheckBox.h</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
生成于 2018年 七月 1日 星期日 22:10:09 , 为 My Project使用  &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.9.1
</small></address>
</body>
</html>
